/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package analyzer;

import java.util.*;
//import Job.Java.MyTrainings.NBApplic.Lottery.src.lottery.*;
/**
 *
 * @author Matrix
 */
class Symbol {
    char info;
    int[] winTable;
    int[] countOnR;
    int comb2l, comb3l, comb4l, comb5l, comb3c, comb4r, comb3r;
    boolean isWild, isScatter;

    Symbol(char newInfo) {
        info = newInfo;
    }
}
public class SlotBase {
    
    private final static String[] reels = {"aaabbc","aabbbc","aabbcc","aabbcc","aaabbbc"};

    private final static int[][] winTable = {{1,2,3},{1,2,3},{0,1,2}};

    private final static String type = ""; // "" - left only, r - left-right, rc - left-right-center

    private boolean isLeft, isRight, isCenter;

    private HashSet<Symbol> symbolSet; // **TODO** Change to MAP!!!

    public SlotBase() {
        symbolSet = new HashSet<Symbol>(winTable.length);
        for (int i = 0; i < reels.length; i++) {
            for (int j = 0; j < reels[i].toCharArray().length; j++) {
                Symbol tempSymb = new Symbol(reels[i].toCharArray()[j]);
                if (symbolSet.contains(tempSymb) == true) {
                    symbolSet.iterator();
                }
            }
        }
        if (type.equals("rc")) {isLeft = true;isRight = true; isCenter = true;}
        else if (type.equals("r")) {isLeft = true; isRight = true;}
        else isLeft = true;

    }

}
